# coding=utf-8
# 习题32：循环和列表

'''
Created on 2015年6月11日

@author: Doris
'''
the_count = [1,2,3,4,5]
fruits = ['apples','oranges','pears','apricots']
change = [1,'pennies',2,'dimes',3,'quarters',]

for number in the_count:
    print "This is count %d"%number

for fruit in fruits:
    print "This is fruit %s"%fruit
    
for chang in change:
    print "I got %r" %  chang

lists = range(0,6)
'''
for number in range(0,6):
    lists.append(number)
    print "Adding %r to the list."%number
'''
for list in lists:
    print "Element was: %r"%list









